package com.hp.service;

import com.github.pagehelper.PageInfo;
import com.hp.bean.Customerservice;
import com.hp.bean.CustomerserviceExample;

import java.util.List;

public interface CustomerserviceService {
    //登录
    Customerservice login(CustomerserviceExample obj);
    //条件查询，分页暂时不实现
    List<Customerservice> find(CustomerserviceExample obj, Integer page, Integer limt);
    //查询单个数据
    Customerservice findByid(Integer id);

    int add(Customerservice obj);

    int upp(Customerservice obj);

    int del(Integer id);

    PageInfo<Customerservice> pageFind(CustomerserviceExample example, Integer page, Integer limit);
}
